
#ifndef __THREADS_
#define __THREADS_
#include "stdint.h"
#include "Platform_Types.h"
#include "Ifx_Cfg.h"


#define OS_DEMO_CONTROL_TASK1_PERIOD_MS   100
#define OS_DEMO_CONTROL_TASK1_PRIORITY    3

#define OS_DEMO_CONTROL_TASK2_PERIOD_MS   210
#define OS_DEMO_CONTROL_TASK2_PRIORITY    2

#define OS_DEMO_CONTROL_TASK3_PERIOD_MS   150
#define OS_DEMO_CONTROL_TASK3_PRIORITY    1


#define TCPIP_THREAD_PRIO               4
#define LWIP_TCPIP_CORE_LOCKING_INPUT   1




#define CPU_WHICH_SERVICE_ETHERNET  0                       /* Define the CPU which services the Ethernet           */
#define TICKS_TO_WAIT               0  //累计几次中断，再一次性读取数据
#define TCPIP_MBOX_SIZE                 10
#define TCPIP_THREAD_STACKSIZE          1024u


#define NETIF_IN_TASK_STACK_SIZE    1024u
#define NETIF_IN_TASK_PRIORITY      5u

void task1_led(void *arg);
void task2_led(void *arg);
void task3_led(void *arg);








#endif


